package com.mall.domain;

import java.io.Serializable;

/**
 * 角色权限实体类
 *
 * @author : liangY
 */
public class RolePermission implements Serializable {

    /**
     * 角色权限编号
     */
    private Integer id;
    /**
     * 角色编号
     */
    private Integer roleId;
    /**
     * 权限编号
     */
    private Integer permissionId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }


    public Integer getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(Integer permissionId) {
        this.permissionId = permissionId;
    }

    @Override
    public String toString() {
        return "RolePermission{" +
                "id=" + id +
                ", roleId=" + roleId +
                ", permissionId=" + permissionId +
                '}';
    }
}
